#include "example.napi.h"
#include "sub/school.napi.h"

inline napi_value InitAllInOne(napi_env env, napi_value exports) {
    napi_property_descriptor desc[] = {
        { "setArenaEnabled", nullptr, NapiUtils::SetArenaEnabled, nullptr, nullptr, nullptr, napi_default, nullptr },
        { "toJsonString", nullptr, NapiUtils::ToJsonString, nullptr, nullptr, nullptr, napi_default, nullptr },
    };
    napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc);
    Init_example(env, exports);
    Init_sub_school(env, exports);
    return exports;
}
